local lambda = (_, _, _) -> 3

l1 = lambda.apply(1, 2, "")

function fun(_, x: Int, _) = x + 10

f1 = fun("foo", 1, "foo")

foo = new Dynamic {
  for (_, _ in Map("a", 1, "b", 2)) {
    0
  }
}

foo2 = new Dynamic {
  for (_ in Map("a", 1, "b", 2)) {
    0
  }
}

bar = new Dynamic {
  for (_, v in Map("a", 1, "b", 2)) {
    for (k, _ in Map("a", 1, "b", 2)) {
      ["\(k)\(v)"] = v
    }
  }
}

baz = new Dynamic {
  for (k1, _ in Map("a", 1, "b", 2)) {
    for (k2, _ in Map("a", 1, "b", 2)) {
      ["\(k1)\(k2)"] = k1
    }
  }
}

qux = new Dynamic {
  for (_, v1 in Map("a", 1, "b", 2)) {
    for (_, v2 in Map("a", 1, "b", 2)) {
      ["\(v1)\(v2)"] = v1 + v2
    }
  }
}

class Bird {
  name: String
  age: Int
}

class B {
  hidden mkBird: (String, Int) -> Bird = (_name, _age) -> new Bird {
    name = _name
    age = _age
  }
  bird = mkBird.apply("Robin", 2)
}

bird1 = new B {
  mkBird { _, _age ->
    name = "Swallow"
    age = _age
  }
}

bird2 = new B {
  mkBird { _name, _ ->
    name = _name
    age = 3
  }
}

var = let (_ = "foo") 0
